package com.ch05.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @ClassName MvcConfig
 * @Description MVC的配置类
 * @Author Kx
 * @Date 2025/5/13 11:08
 * @Version 1.0
 */
// 标识为配置类
@Configuration
// 启用MVC注解
@EnableWebMvc
// 扫描指定包下的类
@ComponentScan("com.ch05")
public class MvcConfig {
}
